This function writes (appends) full records to a level. The data in each record must be packed. Refer to the section on Vdatas in the HDF documentation. The input data buffer must be sufficient to fill the number of records designated.
Result = EOS_PT_WRITELEVEL(pointID, level, nrec, data)
Returns SUCCEED (0) if successful and FAIL (–1) otherwise.
Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.
Level to write (0-based long).
Number of records (long) to write.
Values to be written to the field. Data values are not converted to the internal HDF type automatically. Use HDF_PACKDATA if conversion is necessary or the data fields specify multiple types.
In this example, we write 5 records to the first level in the point referred to by the point id, pointID1:
status = EOS_PT_WRITELEVEL(pointID1, 0, 5, datbuf)
5.2 |
Introduced |